import React from 'react';
import Space404 from 'react-space-404';
import './index.css';

type Palette = {
  light_blue: string;
  cyan: string;
  light_cyan: string;
  yellow: string;
  light_yellow: string;
};
type Language = 'chs' | 'en';
type Space404Props = {
  palette: Palette;
  countdown: number;
  href: string;
  i18n: any;
  language: Language;
  stay: boolean;
};

// 404页面
const PageNotFound: React.FC<Partial<Space404Props>> = (
  props: Partial<Space404Props>,
) => {
  return (
    <div className='notFound'>
      <Space404 language='chs' countdown={10} href='/' {...props} />
    </div>
  );
};

export default PageNotFound;
